package com.google.code.sms.domain;

/**
 * Parameters used when transcoding videos.
 *
 * @author Sindre Mehus
 * @version $Id: VideoTranscodingSettings.java 3052 2012-07-09 17:12:53Z
 * sindre_mehus $
 */
public class VideoTranscodingSettings {

    private final int width;
    private final int height;
    private final int timeOffset;
    private final int duration;
    private final boolean hls;

    public VideoTranscodingSettings(int width, int height, int timeOffset, int duration, boolean hls) {
        this.width = width;
        this.height = height;
        this.timeOffset = timeOffset;
        this.duration = duration;
        this.hls = hls;
    }

    public int getWidth() {
        return width;
    }

    public int getHeight() {
        return height;
    }

    public int getTimeOffset() {
        return timeOffset;
    }

    public int getDuration() {
        return duration;
    }

    public boolean isHls() {
        return hls;
    }
}
